dynamic scope - определение. Что такое dynamic scope
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое dynamic scope - определение

REGION OF A COMPUTER PROGRAM WHERE A NAME BINDING IS VALID
Static scoping; Dynamic scoping; Dynamic variable scoping; Dynamic scope; Lexical variable scoping; Lexical scoping; Lexical environment; Static scope; Shallow binding; Lexically scoped; Variable scoping; Lexical scope; Global Methods; Scoping; Dynamically scoped; Lexically-scoped; Lexicographical scope; Lexicographical scoping; Lexicographic scoping; Lexicographic scope; Scope (programming); Scope (computer programming); Global scope; Let-expression; Function scope; Block scope; Block scoping; Function scoping; File scope; Module scope; Rules of scope; Scoping rules; Scope rules; Scoping rule; Lexical variable scope; Scope block; Scope (computing); Comparison of programming languages (scope)
Найдено результатов: 753
dynamic scope         
<language> In a dynamically scoped language, e.g. most versions of Lisp, an identifier can be referred to, not only in the block where it is declared, but also in any function or procedure called from within that block, even if the called procedure is declared outside the block. This can be implemented as a simple stack of (identifier, value) pairs, accessed by searching down from the top of stack for the most recent instance of a given identifier. The opposite is lexical scope. A common implementation of dynamic scope is shallow binding. (1996-07-11)
dynamic scoping         
dynamically scoped         
static scope         
shallow binding         
A method of storing variable bindings where the current value of a variable can be found at a known location rather than by searching an environment or association list. When a new binding is made, the old value is copied into the environment.
lexical scope         
<programming> (Or "static scope") When the scope of an identifier is fixed at compile time to some region in the source code containing the identifier's declaration. This means that an identifier is only accessible within that region (including procedures declared within it). This contrasts with dynamic scope where the scope depends on the nesting of procedure and function calls at run time. Statically scoped languages differ as to whether the scope is limited to the smallest block (including begin/end blocks) containing the identifier's declaration (e.g. C, Perl) or to whole function and procedure bodies (e.g. ECMAScript), or some larger unit of code (e.g. ?). The former is known as static nested scope. (2005-07-28)
lexical scoping         
Scope (computer science)         
In computer programming, the scope of a name binding (an association of a name to an entity, such as a variable) is the part of a program where the name binding is valid; that is, where the name can be used to refer to the entity. In other parts of the program, the name may refer to a different entity (it may have a different binding), or to nothing at all (it may be unbound).
Scope neglect         
  • Bird covered in oil after oil spill
COGNITIVE BIAS
Scope insensitivity; Scope Neglect
Scope neglect or scope insensitivity is a cognitive bias that occurs when the valuation of a problem is not valued with a multiplicative relationship to its size. Scope neglect is a specific form of extension neglect.
Scope (logic)         
THE RANGE INFLUENCED BY THE QUANTIFICATION IN LOGIC
Scope of a quantification
In logic, the scope of a quantifier or a quantification is the range in the formula where the quantifier "engages in". It is put right after the quantifier, often in parentheses.

Википедия

Scope (computer science)

In computer programming, the scope of a name binding (an association of a name to an entity, such as a variable) is the part of a program where the name binding is valid; that is, where the name can be used to refer to the entity. In other parts of the program, the name may refer to a different entity (it may have a different binding), or to nothing at all (it may be unbound). Scope helps prevent name collisions by allowing the same name to refer to different objects – as long as the names have separate scopes. The scope of a name binding is also known as the visibility of an entity, particularly in older or more technical literature—this is from the perspective of the referenced entity, not the referencing name.

The term "scope" is also used to refer to the set of all name bindings that are valid within a part of a program or at a given point in a program, which is more correctly referred to as context or environment.

Strictly speaking and in practice for most programming languages, "part of a program" refers to a portion of source code (area of text), and is known as lexical scope. In some languages, however, "part of a program" refers to a portion of run time (time period during execution), and is known as dynamic scope. Both of these terms are somewhat misleading—they misuse technical terms, as discussed in the definition—but the distinction itself is accurate and precise, and these are the standard respective terms. Lexical scope is the main focus of this article, with dynamic scope understood by contrast with lexical scope.

In most cases, name resolution based on lexical scope is relatively straightforward to use and to implement, as in use one can read backwards in the source code to determine to which entity a name refers, and in implementation one can maintain a list of names and contexts when compiling or interpreting a program. Difficulties arise in name masking, forward declarations, and hoisting, while considerably subtler ones arise with non-local variables, particularly in closures.